<?php
use yii\helpers\Html;

/**
 * @var $this \yii\web\View
 * @var $model_list app\models\Ad
 */

foreach ($model_list as $model) {
    echo Html::a(Html::encode($model->txt), [$model->url]);
}
